package User;

import javax.json.bind.annotation.JsonbProperty;

public class Userjson {
    @JsonbProperty("error")
    private int error;
    @JsonbProperty("message")
    private String message;
    @JsonbProperty("username")
    private String username;
    @JsonbProperty("name")
    private String name;
    @JsonbProperty("group")
    private String group;
    @JsonbProperty("openid")
    private String openid;
    @JsonbProperty("wx_openid")
    private String wx_openid;
    @JsonbProperty("faculty_title")
    private String faculty_title;




    public Userjson(){

    }
    public Userjson(int error, String message, String username, String name, String group, String openid, String wx_openid, String faculty_title) {
        this.error = error;
        this.message = message;
        this.username = username;
        this.name = name;
        this.group = group;
        this.openid = openid;
        this.wx_openid = wx_openid;
        this.faculty_title = faculty_title;
    }

    public int getError() { return error; }
    public void setError(int error) { this.error = error; }

    public String getMessage() { return message; }
    public void setMessage(String message) { this.message = message; }

    public String getUsername() {
        return username;
    }
    public void setUsername(String username) {
        this.username = username;
    }

    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }

    public String getGroup() {
        return group;
    }
    public void setGroup(String group) {
        this.group = group;
    }

    public String getOpenid() {
        return openid;
    }
    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getWx_openid() {
        return wx_openid;
    }
    public void setWx_openid(String wx_openid) {
        this.wx_openid = wx_openid;
    }

    public String getFaculty_title() { return faculty_title; }
    public void setFaculty_title(String faculty_title) { this.faculty_title = faculty_title; }
}
